import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 样式重置
import 'normalize.css'
import './assets/css/index.less'
// ElementUI 图标注册
import icons from './global/register-icons'

const app = createApp(App)

app.use(icons)
app.use(store)
// 等 router 加载完成后再执行,否则页面加载不出来
app.use(router)

app.mount('#app')
